package com.njym.java.security.admin.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-01-07 10:59:01
 */
@Table(name = "like_or_collect")
public class LikeOrCollect implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //类型，1为收藏，2为点赞
    @Column(name = "type")
    private Integer type;
	
	    //课程id
    @Column(name = "cou_id")
    private Integer couId;
	
	    //操作人ID
    @Column(name = "user_id")
    private Integer userId;
	
	    //操作时间
    @Column(name = "moddify_time")
    private Date moddifyTime;
	
	    //
    @Column(name = "attr1")
    private String attr1;
	
	    //
    @Column(name = "attr2")
    private String attr2;
	
	    //
    @Column(name = "attr3")
    private String attr3;
	
	    //
    @Column(name = "attr4")
    private String attr4;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：类型，1为收藏，2为点赞
	 */
	public void setType(Integer type) {
		this.type = type;
	}
	/**
	 * 获取：类型，1为收藏，2为点赞
	 */
	public Integer getType() {
		return type;
	}
	/**
	 * 设置：课程id
	 */
	public void setCouId(Integer couId) {
		this.couId = couId;
	}
	/**
	 * 获取：课程id
	 */
	public Integer getCouId() {
		return couId;
	}
	/**
	 * 设置：操作人ID
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：操作人ID
	 */
	public Integer getUserId() {
		return userId;
	}
	/**
	 * 设置：操作时间
	 */
	public void setModdifyTime(Date moddifyTime) {
		this.moddifyTime = moddifyTime;
	}
	/**
	 * 获取：操作时间
	 */
	public Date getModdifyTime() {
		return moddifyTime;
	}
	/**
	 * 设置：
	 */
	public void setAttr1(String attr1) {
		this.attr1 = attr1;
	}
	/**
	 * 获取：
	 */
	public String getAttr1() {
		return attr1;
	}
	/**
	 * 设置：
	 */
	public void setAttr2(String attr2) {
		this.attr2 = attr2;
	}
	/**
	 * 获取：
	 */
	public String getAttr2() {
		return attr2;
	}
	/**
	 * 设置：
	 */
	public void setAttr3(String attr3) {
		this.attr3 = attr3;
	}
	/**
	 * 获取：
	 */
	public String getAttr3() {
		return attr3;
	}
	/**
	 * 设置：
	 */
	public void setAttr4(String attr4) {
		this.attr4 = attr4;
	}
	/**
	 * 获取：
	 */
	public String getAttr4() {
		return attr4;
	}
}
